package com.yonyou.brigade.third_parties.third.service.impl;

import com.yonyou.brigade.third_parties.third.model.BriGroup;
import com.yonyou.brigade.third_parties.third.dao.BriGroupMapper;
import com.yonyou.brigade.third_parties.third.model.BriGroupExt;
import com.yonyou.brigade.third_parties.third.service.IBriGroupService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-16
 */
@Service
public class BriGroupServiceImpl extends ServiceImpl<BriGroupMapper, BriGroup> implements IBriGroupService {

    @Autowired
    private BriGroupMapper BriGroupMapper;

    public List<BriGroupExt> findGroups()
    {
        Map params=new HashMap<>();
        return  BriGroupMapper.findGroups(params);
    }
}
